package com.sshtools.view.action;

import com.sshtools.cmd.action.impl.SyncTask;
import com.sshtools.view.MainView;
import com.sshtools.view.MainView.ViewServerAction;
import com.sshtools.view.model.ServerModel;

/** 视图按钮-同步操作 **/
public class SyncAction extends ViewServerAction {
	private static final long serialVersionUID = -4790674042901666926L;

	public SyncAction(MainView mainView, String name) {
		super(mainView, name);
	}

	@Override
	protected Runnable createTask(ServerModel s) {
		return new SyncTask(s);
	}

}
